.mine-container {
  background-color: #1677ff;
  min-height: 100vh;
  padding: 0;
  padding-bottom: 80px;
}

/* 蓝色头部区域 */
.blue-header {
  background-color: #1677ff;
  padding: 20px 16px 24px;
  color: white;
  position: relative;
}

.header-title {
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.header-actions {
  position: absolute;
  top: 20px;
  right: 16px;
  display: flex;
  gap: 8px;
}

.header-action-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.profile-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.profile-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-avatar {
  width: 48px;
  height: 48px;
  background-color: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doctor-name {
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.cert-tag {
  background-color: #52c41a;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
}

.specialty {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.homepage-btn {
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 白色内容区域 */
.white-content {
  background-color: white;
  border-radius: 20px 20px 0 0;
  margin-top: -20px;
  padding: 20px 16px;
  min-height: calc(100vh - 200px);
}

/* 统计卡片 */
.stats-card {
  background-color: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 80px;
  justify-content: space-between;
}

.stat-item:hover {
  background-color: #f0f0f0;
}

.stat-number {
  font-size: 20px;
  font-weight: 600;
  color: #1677ff;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: #333;
  font-weight: 400;
  line-height: 1.2;
  word-break: break-all;
  max-width: 100%;
}

.stat-arrow {
  font-size: 12px;
  color: #999;
  line-height: 1;
}

/* 消息卡片 */
.message-card {
  background-color: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.message-avatar {
  width: 32px;
  height: 32px;
  background-color: #e3f2fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.message-content {
  flex: 1;
}

.message-text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.unread-dot {
  width: 8px;
  height: 8px;
  background-color: #ff4d4f;
  border-radius: 50%;
}

/* 活动卡片 */
.activity-section {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.activity-card {
  flex: 1;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 120px;
}

.activity-card.left {
  background: linear-gradient(135deg, #4A90E2 0%, #1677ff 100%);
  color: white;
}

.activity-card.right {
  background: linear-gradient(135deg, #36CFC9 0%, #13C2C2 100%);
  color: white;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #ff4d4f;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #ff4d4f;
  color: white;
  border-radius: 8px;
  padding: 2px 6px;
  font-size: 10px;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

/* 功能网格 */
.function-grid-card {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.card-title-section {
  margin-bottom: 20px;
}

.card-title-section h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
}

.grid-item:hover {
  background-color: #f8f9fa;
}

.grid-icon {
  width: 40px;
  height: 40px;
  background-color: #1677ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.grid-text {
  font-size: 12px;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* 问诊室卡片 */
.consultation-card {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.card-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.performance-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.metric {
  background-color: #f8f9fa;
  padding: 8px 12px;
  border-radius: 16px;
  font-size: 12px;
  color: #666;
}

.team-tag {
  background-color: #ff9a56;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 8px;
  margin-left: 4px;
}

/* 网络问诊抢单池 */
.order-pool-card {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.order-pool-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-pool-info h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.order-pool-info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.grab-btn {
  background-color: #1677ff;
  color: white;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  border: none;
}

/* 待处理任务 */
.pending-tasks-card {
  background-color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.tasks-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tab-item {
  background-color: #f8f9fa;
  padding: 8px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  color: #666;
  position: relative;
}

.tab-item.active {
  background-color: #1677ff;
  color: white;
}

.tab-text {
  font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .white-content {
    padding: 16px 12px;
  }
  
  .stats-card {
    padding: 16px;
    gap: 8px;
  }
  
  .activity-section {
    flex-direction: column;
  }
  
  .grid-container {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}
